package com.mx.mxweb.model;

import java.util.Date;

public class User {
    private Long id;

    private Long sid;

    private String sname;

    private String sclass;

    private Long sgrade;

    private String sphone;

    private String spassword;

    private String identity;

    private String salt;

    private Date createTime;

    private String createBy;

    private Date modifyTime;

    private String modifyBy;

    public User(Long id, Long sid, String sname, String sclass, Long sgrade, String sphone, String spassword, String identity, String salt, Date createTime, String createBy, Date modifyTime, String modifyBy) {
        this.id = id;
        this.sid = sid;
        this.sname = sname;
        this.sclass = sclass;
        this.sgrade = sgrade;
        this.sphone = sphone;
        this.spassword = spassword;
        this.identity = identity;
        this.salt = salt;
        this.createTime = createTime;
        this.createBy = createBy;
        this.modifyTime = modifyTime;
        this.modifyBy = modifyBy;
    }

    public User() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }

    public String getSclass() {
        return sclass;
    }

    public void setSclass(String sclass) {
        this.sclass = sclass == null ? null : sclass.trim();
    }

    public Long getSgrade() {
        return sgrade;
    }

    public void setSgrade(Long sgrade) {
        this.sgrade = sgrade;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone == null ? null : sphone.trim();
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword == null ? null : spassword.trim();
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity == null ? null : identity.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }
}